package com.zhs.gccs.model;


import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import java.io.Serializable;

@Table(name = "CaFile")
public class CaFile implements Serializable {
    @Column(name = "localId",isId = true,autoGen = false)
    private String localId;//本地id
    @Column(name = "pid")
    private String pid;//项目编码
    @Column(name = "taskId")
    private String taskId;//task_id
    @Column(name = "dictId")
    private String dictId;
    @Column(name = "dataId")
    private String dataId;
    @Column(name = "localPath")
    private String localPath;//文件地址--本地地址
    @Column(name = "fileType")
    private String fileType;//文件字典类型
    @Column(name = "url")
    private String url;//网络地址
    @Column(name = "bucket")
    private String bucket;
    @Column(name = "objectName")
    private String objectName;
    @Column(name = "uniqueName")
    private String uniqueName;
    @Column(name = "fileName")
    private String fileName;
    @Column(name = "fileSize")
    private String fileSize;
    @Column(name = "fileExt")
    private String fileExt;
    @Column(name = "fileId")
    private String fileId;//上传后的服务器文件id
    @Column(name = "isSync")
    private boolean isSync = false;
    @Column(name = "isPlaceholder")
    private boolean isPlaceholder = false;
    @Column(name = "editable")
    private boolean editable = true;
    @Column(name = "date")
    private String date;//拍照时间
    @Column(name = "imgType")
    private String imgType; //0 照片 1 音频  2 视频
    @Column(name = "img")
    private int img;
    @Column(name = "psry")
    private String psry;
    @Column(name = "videoImgUrl")
    private String videoImgUrl;//本地
    @Column(name = "videoThumb")
    private String videoThumb;//视频网络地址
//    @Column(name = "thumb")
    private CjFile thumb;
    @Column(name = "angle")
    private String angle;
    @Column(name = "angleDeg")
    private int angleDeg;
    @Column(name = "degree")
    private String degree;
    @Column(name = "locationInfo")
    private String locationInfo;//地址=======
    @Column(name = "location")
    private String location;//地址+经纬度
    @Column(name = "lat")
    private String lat;
    @Column(name = "lon")
    private String lon;
    @Column(name = "duration")
    private String duration;//视频时长
    @Column(name = "trouble")
    private String trouble;

    public static final String type_image = "0";//  照片
    public static final String type_audio = "1";//  音频
    public static final String type_video = "2";//视频


    public CjFile getThumb() {
        return thumb;
    }

    public void setThumb(CjFile thumb) {
        this.thumb = thumb;
    }

    public String getBucket() {
        return bucket;
    }

    public void setBucket(String bucket) {
        this.bucket = bucket;
    }

    public String getObjectName() {
        return objectName;
    }

    public void setObjectName(String objectName) {
        this.objectName = objectName;
    }

    public String getUniqueName() {
        return uniqueName;
    }

    public void setUniqueName(String uniqueName) {
        this.uniqueName = uniqueName;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileSize() {
        return fileSize;
    }

    public void setFileSize(String fileSize) {
        this.fileSize = fileSize;
    }

    public String getFileExt() {
        return fileExt;
    }

    public void setFileExt(String fileExt) {
        this.fileExt = fileExt;
    }

    public boolean isSync() {
        return isSync;
    }

    public void setSync(boolean sync) {
        isSync = sync;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getDictId() {
        return dictId;
    }

    public void setDictId(String dictId) {
        this.dictId = dictId;
    }

    public String getLocalId() {
        return localId;
    }

    public void setLocalId(String localId) {
        this.localId = localId;
    }

    public String getDataId() {
        return dataId;
    }

    public void setDataId(String dataId) {
        this.dataId = dataId;
    }

    public String getDuration() {
        return duration;
    }

    public void setDuration(String duration) {
        this.duration = duration;
    }

    public String getVideoThumb() {
        return videoThumb;
    }

    public void setVideoThumb(String videoThumb) {
        this.videoThumb = videoThumb;
    }

    public boolean isEditable() {
        return editable;
    }

    public void setEditable(boolean editable) {
        this.editable = editable;
    }

    public String getFileId() {
        return fileId;
    }

    public void setFileId(String fileId) {
        this.fileId = fileId;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public boolean isPlaceholder() {
        return isPlaceholder;
    }

    public void setPlaceholder(boolean placeholder) {
        isPlaceholder = placeholder;
    }

    public int getAngleDeg() {
        return angleDeg;
    }

    public void setAngleDeg(int angleDeg) {
        this.angleDeg = angleDeg;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }


    public String getTrouble() {
        return trouble;
    }

    public void setTrouble(String trouble) {
        this.trouble = trouble;
    }

    public String getLocationInfo() {
        return locationInfo;
    }

    public void setLocationInfo(String locationInfo) {
        this.locationInfo = locationInfo;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLon() {
        return lon;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getPsry() {
        return psry;
    }

    public void setPsry(String psry) {
        this.psry = psry;
    }

    public String getVideoImgUrl() {
        return videoImgUrl;
    }

    public void setVideoImgUrl(String videoImgUrl) {
        this.videoImgUrl = videoImgUrl;
    }

    public String getAngle() {
        return angle;
    }

    public void setAngle(String angle) {
        this.angle = angle;
    }

    public String getDegree() {
        return degree;
    }

    public void setDegree(String degree) {
        this.degree = degree;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String time) {
        this.date = time;
    }

    public int getImg() {
        return img;
    }

    public void setImg(int img) {
        this.img = img;
    }


    public String getImgType() {
        return imgType;
    }

    public void setImgType(String imgType) {
        this.imgType = imgType;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getLocalPath() {
        return localPath;
    }

    public void setLocalPath(String localPath) {
        this.localPath = localPath;
    }
}
